﻿#ifndef U_SysLogPage_H
#define U_SysLogPage_H

#include "Window/mydialog.h"

class SysLogPage : public MyDialog
{
    Q_OBJECT
public:
    explicit SysLogPage(QWidget *parent = nullptr);

signals:

public slots:
    void OnBtnQueryClicked();
    void OnBtnDelClicked();
    void OnBtnExportClicked();

private:

    void InitWidget();
    void SetupConnections();
    void Initialize();
    void UpdateTable();

    QList<SysLog>   queryList;
    QTableWidget *tableWidget;

    QPushButton  *btnQuery;
    QPushButton  *btnDel;
    QPushButton  *btnExport;

    QDateTimeEdit*editCreateTime;
    QComboBox    *editType;
    QLineEdit    *editDescribe;
};

#endif // U_SysLogPage_H
